<?php
  include_once('./tool_dir.php');

  $path = '.';
  $path_protected = Tool_dir::path2path_protected($path);

  print "$path :: $path_protected\n";
//die();
  $res_dir = Tool_dir::get_files($path_protected);
  print_r($res_dir);

//  $array_type = array('php','swp');
  $res = Tool_dir::get_files_type($path_protected);
  print_r($res);

  $res = Tool_dir::get_regexp($path_protected,"'php'",null);
  print_r($res);
?>
